package com.htw.rv.fast_scroller.grid.adapter

import androidx.recyclerview.widget.RecyclerView
import com.htw.rv.fast_scroller.adapter.RvItemData
import com.htw.rv.fast_scroller.databinding.LayoutRvGridItemBinding

class GridRvAdapterVH(private val binding: LayoutRvGridItemBinding): RecyclerView.ViewHolder(binding.root) {

    fun bind(itemData: RvItemData) {
        binding.ivImg.setImageResource(itemData.imgResId)
    }
}